package com.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

@Data
@TableName("friends")
public class CFriends {
    @JsonSerialize(using = ToStringSerializer.class)
    Long userId;    //用户的id
    @JsonSerialize(using = ToStringSerializer.class)
    Long friendId;  //好友的id
    Integer state;  //申请好友的状态
}
